package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangjiawen on 2019/6/13.
 */

@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("getTest")
    public Object  getTest(){
        Map map=new HashMap<>();
        map.put("status","ojbk");

        return map;
    }
}
